package com.sc.nft.entity.vo.ecologypool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.EcologyPoolCommunityServiceRankTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author 刘国航
 * @since 2024/7/13
 */
@Data
public class EcologyPoolCommunityServiceRankConfDetailVO implements Serializable {

    private static final long serialVersionUID = 4113933954431986439L;
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("榜单名称")
    private String rankName;

    @ApiModelProperty("榜单类型")
    private EcologyPoolCommunityServiceRankTypeEnum rankType;

    @ApiModelProperty("新增网点/用户阈值")
    private Integer newUserCountThreshold;

    @ApiModelProperty("新增熔炼值阈值")
    private BigDecimal newEcologySmeltingThreshold;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("活动规则")
    private String activityRule;

    @ApiModelProperty("顶部图")
    private String topImage;

    @ApiModelProperty("状态")
    private Boolean status;

    @ApiModelProperty("是否全部关联")
    private Boolean allRelation;

    @ApiModelProperty("关联列表")
    private List<EcologyPoolDaoCommunityServiceRankConfDetailRelationVO> relationList;

    @ApiModelProperty("收益列表")
    private List<EcologyPoolCommunityServiceRankConfDetailIncomeVO> incomeList;

}
